<?php

function getContent($id = 1) {
	global $db;
	
	$content = $db->db_query("SELECT
									content_heading,
									content_file,
									content_text
								FROM
									".TABLE_CONTENT_MANAGER."
								WHERE
									content_group = '".(int)$id."'
								AND
									languages_id = '".$_SESSION['languages_id']."'");
	$c = '<div data-role="page" id="shipping">
			<div data-role="content" data-theme="a">
				<h3>'.$content->fields['content_heading'].'</h3>
				'.$content->fields['content_text'].'	
				<a href="#" data-role="button" data-rel="back" data-theme="b">schliessen</a>
			</div>
		</div>';
	return $c;
}